﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Web;

namespace RSSReader.DAL
{
    public class UserArticle
    {
        [Key, Column(Order = 0)]
        public string UserId { get; set; }
        public virtual ApplicationUser User { get; set; }

        [Key, Column(Order = 1)]
        public int ArticleId { get; set; }
        public virtual Article Article { get; set; }

        public bool IsFavorite { get; set; }
    }
}